import { contextBridge } from "electron";
import { CutImagePreload } from "./cutImage";
import { UserPreload } from "./user";
import { WindowPreload } from "./window";
import { SessionPreload } from "./session";
import { FilePreload } from "./file";
import { MessagePreload } from "./message";

contextBridge.exposeInMainWorld("electronApi", {
  ...UserPreload,
  ...MessagePreload,
  ...SessionPreload,
  ...FilePreload,
  ...CutImagePreload,
  ...WindowPreload,
});
